<template>
  <div class="column jcsb h100">
    <div>
      <router-view></router-view>
    </div>

    <div class="other-login">
      <div class="row">
        <div class="other-login-befor" />
        <div class="other-login-text tac">其它登录方式</div>
        <div class="other-login-after" />
      </div>
      <div class="row jcc mt-2" @click="onWeixinLogin">
        <el-button style="height: 3rem; width: 3rem" circle>
          <span class="c-icon icon-weixin fz-3" />
        </el-button>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue';
/**
 * 微信登陆
 */
function onWeixinLogin() {
  console.log(4);
}
</script>

<style lang="scss" scoped>
.other-login {
  .other-login-befor,
  .other-login-after {
    display: inline-block;

    flex: 1;
    margin-bottom: 0.5rem;

    border-bottom: 1px solid gray;
  }

  .other-login-text {
    flex: 2;
  }
}
</style>
